import request from '@/utils/request'

// 查询救济金管理列表
export function listRuralBenefitAnagement(query) {
  return request({
    url: '/rural/ruralBenefitAnagement/list',
    method: 'get',
    params: query
  })
}

// 查询救济金管理详细
export function getRuralBenefitAnagement(id) {
  return request({
    url: '/rural/ruralBenefitAnagement/' + id,
    method: 'get'
  })
}

// 新增救济金管理
export function addRuralBenefitAnagement(data) {
  return request({
    url: '/rural/ruralBenefitAnagement',
    method: 'post',
    data: data
  })
}

// 修改救济金管理
export function updateRuralBenefitAnagement(data) {
  return request({
    url: '/rural/ruralBenefitAnagement',
    method: 'put',
    data: data
  })
}

// 删除救济金管理
export function delRuralBenefitAnagement(id) {
  return request({
    url: '/rural/ruralBenefitAnagement/' + id,
    method: 'delete'
  })
}
